package ecom.appcode.business;

import java.util.List;

import ecom.appcode.common.daobean.CategoryDaoBean;

public interface CategoryLogic {
    /** load all category */
    List<CategoryDaoBean> loadCategoryName();
    
    /** Load Category by ID */
    CategoryDaoBean loadCategoryByID(int ID);
    
    /** Update Category */
    boolean updateCategory(int categoryID, String categoryName, String description);
    
    /** Add New Category */
    boolean addCategory(String categoryName, String description);
    
    /** Delete Category */
    boolean deleteCategory(int categoryID);
    
}
